package com.lu.test.customannotation;

import org.springframework.context.ApplicationContext;
import org.springframework.context.annotation.AnnotationConfigApplicationContext;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Import;

@CustomizeComponent
@Import(CustomizeComponentRegister.class)
public class CustomizeService {
	public static void main(String[] args) {
		ApplicationContext context=new AnnotationConfigApplicationContext("com.lu.test.customannotation");

		CustomizeService bean = context.getBean(CustomizeService.class);
	}

}
